/**
 *  * Created by liaoyf on 2017/11/1 0001.
 */
import React from 'react';
import {
    HashRouter as Router,
    Route,
    Switch,
    Redirect
} from 'react-router-dom';
import Bundle from '@share/bundle';

import Login from "./Mine/js/Login";
import Index from "./Mine/js/Home/Home";
import ShowDetail from "./Mine/js/Home/showdetail/ShowDetail";





class Container extends React.Component{
    render(){
        return (
            <Router>
                <Switch>
                    <Route exact path="/" component={Login}/>
                    <Route path="/index" component={Index}/>
                    <Route path='/detail' component={ShowDetail}/>
                </Switch>
            </Router>
        );
    }
}

export default Container;